<template>
  <div class="container">
    <div class="box-1" style="margin-right: -50px;"></div>
    <div class="box-2"></div>
  </div>
</template>

<script lang="ts" setup></script>
<style lang="scss" scoped>
.container {
  border: 1px solid #ccc;
}
.box-1,
.box-2 {
  width: 100px;
  height: 100px;
  background: red;
  display: inline-block;
}
.box-2 {
  background: #00f;
}
</style>
